<div class="place-admin-table">
	<table class="admin-table">
		<thead>
			<tr>
				<td>Tiêu đề</td>
				<td>Cập nhật</td>
				<td>Thay đổi</td>
			</tr>
		</thead>
		<tbody>
		<?php foreach($items as $item): ?>
			<tr>
				<td><?php echo $item -> title; ?></td>
				<td><?php echo format_date($item -> updated_at); ?></td>
				<td>
					<a href="<?php echo Agilet::getUrl('admin/post/edit', array('_id' => $item -> _id)); ?>">Sửa</a> |
					<a href="<?php echo Agilet::getUrl('admin/post/delete', array('_id' => $item -> _id)); ?>">Xóa</a>  
				</td>
			</tr>
		<?php endforeach; ?>
		</tbody>
	</table>
</div>
